package com.javabase;

/**
 * @Description: java类作用描述
 * @Author: Bsea
 * @CreateDate: 2019/6/12$ 20:36$
 */
public class Test10 {
    public static void main(String[] args) {
        final ThreadTest1 threadTest1=new ThreadTest1();
        Thread t1=new Thread(new Runnable() {
            public void run() {
                threadTest1.a();
            }
        });

        Thread t2=new Thread(new Runnable() {
            public void run() {
                threadTest1.a();
            }
        });

        t1.start();
        t2.start();
    }
}
